Optimal. Leaf size=33 \[ \frac{a \sqrt{c x-1} \sqrt{c x+1}}{x}+\frac{b \cosh ^{-1}(c x)}{c} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.183341, antiderivative size = 33, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 29, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.069 \[ \frac{a \sqrt{c x-1} \sqrt{c x+1}}{x}+\frac{b \cosh ^{-1}(c x)}{c} \]
Antiderivative was successfully verified.
[In] Int[(a + b*x^2)/(x^2*Sqrt[-1 + c*x]*Sqrt[1 + c*x]),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 8.5764, size = 27, normalized size = 0.82 \[ \frac{a \sqrt{c x - 1} \sqrt{c x + 1}}{x} + \frac{b \operatorname{acosh}{\left (c x \right )}}{c} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((b*x**2+a)/x**2/(c*x-1)**(1/2)/(c*x+1)**(1/2),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.0546701, size = 53, normalized size = 1.61 \[ \frac{a \sqrt{c x-1} \sqrt{c x+1}}{x}+\frac{b \log \left (c x+\sqrt{c x-1} \sqrt{c x+1}\right )}{c} \]
Antiderivative was successfully verified.
[In] Integrate[(a + b*x^2)/(x^2*Sqrt[-1 + c*x]*Sqrt[1 + c*x]),x]
[Out]
_______________________________________________________________________________________
Maple [C] time = 0.029, size = 77, normalized size = 2.3 \[{\frac{{\it csgn} \left ( c \right ) }{cx}\sqrt{cx-1}\sqrt{cx+1} \left ( a\sqrt{{c}^{2}{x}^{2}-1}{\it csgn} \left ( c \right ) c+b\ln \left ( \left ({\it csgn} \left ( c \right ) \sqrt{{c}^{2}{x}^{2}-1}+cx \right ){\it csgn} \left ( c \right ) \right ) x \right ){\frac{1}{\sqrt{{c}^{2}{x}^{2}-1}}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((b*x^2+a)/x^2/(c*x-1)^(1/2)/(c*x+1)^(1/2),x)
[Out]
_______________________________________________________________________________________
Maxima [A] time = 1.69408, size = 68, normalized size = 2.06 \[ \frac{b \log \left (2 \, c^{2} x + 2 \, \sqrt{c^{2} x^{2} - 1} \sqrt{c^{2}}\right )}{\sqrt{c^{2}}} + \frac{\sqrt{c^{2} x^{2} - 1} a}{x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x^2 + a)/(sqrt(c*x + 1)*sqrt(c*x - 1)*x^2),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.239542, size = 109, normalized size = 3.3 \[ \frac{a c -{\left (b c x^{2} - \sqrt{c x + 1} \sqrt{c x - 1} b x\right )} \log \left (-c x + \sqrt{c x + 1} \sqrt{c x - 1}\right )}{c^{2} x^{2} - \sqrt{c x + 1} \sqrt{c x - 1} c x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x^2 + a)/(sqrt(c*x + 1)*sqrt(c*x - 1)*x^2),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 42.4737, size = 148, normalized size = 4.48 \[ - \frac{a c{G_{6, 6}^{5, 3}\left (\begin{matrix} \frac{5}{4}, \frac{7}{4}, 1 & \frac{3}{2}, \frac{3}{2}, 2 \\1, \frac{5}{4}, \frac{3}{2}, \frac{7}{4}, 2 & 0 \end{matrix} \middle |{\frac{1}{c^{2} x^{2}}} \right )}}{4 \pi ^{\frac{3}{2}}} - \frac{i a c{G_{6, 6}^{2, 6}\left (\begin{matrix} \frac{1}{2}, \frac{3}{4}, 1, \frac{5}{4}, \frac{3}{2}, 1 & \\\frac{3}{4}, \frac{5}{4} & \frac{1}{2}, 1, 1, 0 \end{matrix} \middle |{\frac{e^{2 i \pi }}{c^{2} x^{2}}} \right )}}{4 \pi ^{\frac{3}{2}}} + \frac{b{G_{6, 6}^{6, 2}\left (\begin{matrix} \frac{1}{4}, \frac{3}{4} & \frac{1}{2}, \frac{1}{2}, 1, 1 \\0, \frac{1}{4}, \frac{1}{2}, \frac{3}{4}, 1, 0 & \end{matrix} \middle |{\frac{1}{c^{2} x^{2}}} \right )}}{4 \pi ^{\frac{3}{2}} c} - \frac{i b{G_{6, 6}^{2, 6}\left (\begin{matrix} - \frac{1}{2}, - \frac{1}{4}, 0, \frac{1}{4}, \frac{1}{2}, 1 & \\- \frac{1}{4}, \frac{1}{4} & - \frac{1}{2}, 0, 0, 0 \end{matrix} \middle |{\frac{e^{2 i \pi }}{c^{2} x^{2}}} \right )}}{4 \pi ^{\frac{3}{2}} c} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x**2+a)/x**2/(c*x-1)**(1/2)/(c*x+1)**(1/2),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.223461, size = 78, normalized size = 2.36 \[ \frac{\frac{16 \, a c^{2}}{{\left (\sqrt{c x + 1} - \sqrt{c x - 1}\right )}^{4} + 4} - b{\rm ln}\left ({\left (\sqrt{c x + 1} - \sqrt{c x - 1}\right )}^{4}\right )}{2 \, c} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x^2 + a)/(sqrt(c*x + 1)*sqrt(c*x - 1)*x^2),x, algorithm="giac")
[Out]